﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using HotelCommon.Models;

namespace HotelDAO.DAO.Mappings
{
    public class HotelMap : ClassMap<Hotel>
    {
        public HotelMap()
        {
            Id(id => id.HotelId);
            Map(x => x.HotelName);
        }

    }
}
